Skip to content

Conversation

FlorinAndrei
Copy link

With the current version of Matplotlib, I get white dots for the 0 class, which are hard to see.

This change uses the standard Matplotlib color palette for the classes, shifted by 1.

With the current version of Matplotlib, I get white dots for the 0 class, which are hard to see.

This change uses the standard Matplotlib color palette for the classes, shifted by 1.
@FlorinAndrei
Copy link
Author

To make it clear, this happens when using a custom style plt.style.use('seaborn-v0_8-whitegrid')

The change forces colors to be the same (drawn from the default palette) no matter what style you use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant